Skip to content

Make bridge interfaces implement serializable #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2015

Conversation

retronym
Copy link
Member

@retronym retronym commented Jun 5, 2015

I'm trying to use this library to help with some Java8 code written on top of the Spark API. I'm using a spark library that takes scala Function1s. Unfortunately, I cannot use the scala-java8-compat library because the bridge interface does not extend Serializable and for a java8 lambda to be serializable the target type has to be serializable: http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html#serialization

@retronym
Copy link
Member

retronym commented Jun 5, 2015

[Converted issue to a pull request]

@punya
Copy link

punya commented Jun 11, 2015

This would be really useful to me, for the same reason.

@retronym retronym added this to the 0.5.0 milestone Jul 28, 2015
@retronym retronym self-assigned this Jul 28, 2015
retronym added a commit that referenced this pull request Jul 28, 2015
Make bridge interfaces implement serializable
@retronym retronym merged commit 9ef565f into scala:master Jul 28, 2015
@retronym retronym modified the milestones: 0.5.0, 0.6.0 Aug 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants